const http = uni.$u.http

// 首页
export const homeData = (data) => {
	return http.get('/index.php', {params:data})
}

//二手车
export const carSecondhand = (data) => {
	return http.get('/index.php', {params:data})
}

//搜索
export const search = (data) => {
	return http.get('/index.php?_mall_id=1&r=api/home/search', {params:data})
}

//问答列表
export const questionsList = (data) => {
	return http.get('/index.php?_mall_id=1&r=api/circle/questions-list', {params:data})
}

//问答详情
export const questionsDetail = (data) => {
	return http.get('/index.php?_mall_id=1&r=api/circle/questions-detail', {params:data})
}



